import { PopoverProps } from 'antd';
import { ColorResult } from 'react-color';

export interface ColorPickerProps {
  onChange: (
    color: ColorResult,
    event?: React.ChangeEvent<HTMLInputElement>,
  ) => void;
  className?: string;
  defaultColor?: string;
  showColorInfo?: boolean;
  popoverConf?: PopoverProps;
}
